#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Models.Marketmodels;
namespace Cephei.QL.Models.Marketmodels.Products.Multistep
{
     // <summary> 
	// ! MultiStepPathwiseWrapper Pathwise products do everything that ordinary products do and more. This lets you treat a pathwise product as an ordinary product. So you only have to write the product once.  Tested in MarketModels::testInverseFloater()
	// </summary>
    [Guid ("75888345-9CAF-4e4e-BF3C-75DBB248D329"),ComVisible(true)]
	public interface IMultiProductPathwiseWrapper : Cephei.QL.Models.Marketmodels.IMarketModelMultiProduct
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Cephei.QL.Models.Marketmodels.IEvolutionDescription Evolution {get;}
        
		 UInt64 MaxNumberOfCashFlowsPerProductPerStep {get;}
        
		 UInt64 NumberOfProducts {get;}
        
		 Cephei.IVector<Double> PossibleCashFlowTimes {get;}
        
		 IMultiProductPathwiseWrapper Reset {get;}
        
		 Cephei.IVector<UInt64> SuggestedNumeraires {get;}
        
		 Boolean NextTimeStep(Cephei.QL.Models.Marketmodels.ICurveState currentState, Cephei.IVector<UInt64> numberCashFlowsThisStep, Cephei.IMatrix<Cephei.QL.Models.Marketmodels.IMarketModelMultiProductCashFlow> cashFlowsGenerated);
    }

    // <summary> 
	// ! MultiStepPathwiseWrapper Pathwise products do everything that ordinary products do and more. This lets you treat a pathwise product as an ordinary product. So you only have to write the product once.  Tested in MarketModels::testInverseFloater() Factory
	// </summary>
   	[ComVisible(true)]
    public interface IMultiProductPathwiseWrapper_Factory // : Collection_Factory<IMultiProductPathwiseWrapper, ICell<IMultiProductPathwiseWrapper>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IMultiProductPathwiseWrapper Create (Cephei.QL.Models.Marketmodels.IMarketModelPathwiseMultiProduct innerProduct_);
    }
}

